package com.asiainfo.iov.entity;

import com.library.adapter_listview.Entity;

import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

/**
 * @author YobertJomi
 * className SaleInfo
 * created at  2017/3/15  17:57
 */
@org.greenrobot.greendao.annotation.Entity
public class ScanInfo extends Entity {// TODO: 2017/4/19 字段变化一定要更新数据库版本
    @Id(autoincrement = true)
    private Long autoincrementId;
    private String id;
    private String name;
    private double totalFee;
    private String content;
    private String imei;
    private double price;
    private String type;
    private int count;
    private int maxCount;
    private boolean isPhone;
    private String imgUrl;
    private boolean choosed;
    private String color;
    private String room;

    @Generated(hash = 1543627896)
    public ScanInfo(Long autoincrementId, String id, String name, double totalFee,
                    String content, String imei, double price, String type, int count,
                    int maxCount, boolean isPhone, String imgUrl, boolean choosed,
                    String color, String room) {
        this.autoincrementId = autoincrementId;
        this.id = id;
        this.name = name;
        this.totalFee = totalFee;
        this.content = content;
        this.imei = imei;
        this.price = price;
        this.type = type;
        this.count = count;
        this.maxCount = maxCount;
        this.isPhone = isPhone;
        this.imgUrl = imgUrl;
        this.choosed = choosed;
        this.color = color;
        this.room = room;
    }

    @Generated(hash = 1881186917)
    public ScanInfo() {
    }

    public Long getAutoincrementId() {
        return this.autoincrementId;
    }

    public void setAutoincrementId(Long autoincrementId) {
        this.autoincrementId = autoincrementId;
    }

    public String getId() {
        return this.id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getTotalFee() {
        return this.totalFee;
    }

    public void setTotalFee(double totalFee) {
        this.totalFee = totalFee;
    }

    public String getContent() {
        return this.content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getImei() {
        return this.imei;
    }

    public void setImei(String imei) {
        this.imei = imei;
    }

    public double getPrice() {
        return this.price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getType() {
        return this.type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public int getCount() {
        return this.count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public boolean getIsPhone() {
        return this.isPhone;
    }

    public void setIsPhone(boolean isPhone) {
        this.isPhone = isPhone;
    }

    public String getImgUrl() {
        return this.imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public boolean getChoosed() {
        return this.choosed;
    }

    public void setChoosed(boolean choosed) {
        this.choosed = choosed;
    }

    public String getColor() {
        return this.color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getRoom() {
        return this.room;
    }

    public void setRoom(String room) {
        this.room = room;
    }

    public int getMaxCount() {
        return this.maxCount;
    }

    public void setMaxCount(int maxCount) {
        this.maxCount = maxCount;
    }
}
